### Description
This is test assigment application for Docus.ai

### Requirements
- Docker
- Around 1.2 GB Free space

### How to build
Use make command
Configure .env file according your needs

### How to use
Use `make docker_up` at terminal.
After initation you can visit web page at http://localhost.
Terminal commands available through sail (located at `vendor/bin/sail`), so for example there are three signatures:
- `sail artisan user:create {login}`,
- `sail artisan role:create {name}`,
- `sail artisan permission:create {name}`.

User authorization available through `authorize` middleware. It requires all variables to matching. Usage:
- `->middleware(['authorize:{role_name_1}|{role_name_2},{permission_name_1}|{permission_name_2}])`.

After you complete your usage needs stop with `make docker_down` command.
